package com.xm.bluetoothkotlin.search

import com.xm.bluetoothkotlin.device.BluetoothDeviceData

/**
 * @创建者:小垚
 * @时间:2021/11/11
 *@描述: 搜索蓝牙监听
 */
interface BluetoothSeachCallback {

    //开始搜索蓝牙
    fun onStartSearch()

    //搜索成功
    fun onSearchSuccess(devices: MutableList<BluetoothDeviceData>, newDevice: BluetoothDeviceData)

    //搜索失败
    fun onSearchFailed(error: String)

    //搜索暂停
    fun onStopSearch()
}